#ifndef ETOOLBAR_H
#define ETOOLBAR_H

#include <Fl/Fl.h>
#include <Fl/Fl_Group.h>
#include <Fl/Fl_Round_Button.h>
#include <Fl/Fl_Light_Button.h>
#include <iostream>
//#include "econtainer.h"

class EToolBar : public Fl_Group
{
    public:
        EToolBar(int x,int y,int w,int h);
        virtual ~EToolBar();
        static void secim_CB(Fl_Widget *p,void *userdata);
        void secim_CB2(Fl_Widget *p);
    protected:
    private:
        Fl_Round_Button *node;
        Fl_Round_Button *resistance;
        Fl_Round_Button *switchs;
        Fl_Round_Button *lamp;
        Fl_Round_Button *battery;
        Fl_Round_Button *diode;
        Fl_Round_Button *textbox;
        std::string tip;
};

#endif // ETOOLBAR_H
